package com.jobjoin.jobjoin.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *  角色权限表
 * </p>
 *
 * @author WinsomeC
 * @since 2021-04-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AuthRole对象", description=" 角色权限表")
public class AuthRole implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "编号")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private Integer id;

    @ApiModelProperty(value = "角色ID")
    private Integer roleid;

    @ApiModelProperty(value = "菜单ID")
    private Integer menuid;

    @ApiModelProperty(value = "创建人编号")
    private Integer creatorid;

    @ApiModelProperty(value = "创建日期")
    private Date createdate;

    @ApiModelProperty(value = "数据级别 0正常 1审核中 2被否决 -1已删除 -2草稿")
    private Integer datalevel;


}
